<?php /* Smarty version 2.6.18, created on 2017-09-24 11:19:35
         compiled from agentpeilv.html */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => 'header.html', 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>
<style>
a.red {
	color:#D50000
}
</style>
</head><body>
<script id=myjs language="javascript">var js=1;var sss='his';</script>
<div class="xbody1">
 <table class="tinfo wd100 nrtb">
  <tr>
   <th colspan="2"> <select class="pages">
     <option value="show">登陆记录</option>
     <option value="useredit" >会员操作记录</option>
     <option value="adminedit" >管理操作记录</option>
     <option value="agentpeilv"  selected>代理赔率记录</option>
     <option value="adminpeilv">管理赔率记录</option>
    </select>
   </th>
   <td colspan="4"  style="word-wrap:break-word;word-break:break-all"><?php echo $this->_tpl_vars['page']; ?>
</td>
    <td colspan=2><input type="button" value="删除" class="del btnf"  /><INPUT type="text" value="<?php echo $this->_tpl_vars['deldate']; ?>
" class="deldate" size=8 />之前</td>
  </tr>
  <TR>
   <th><input type="checkbox" id='clickall' />
    全选</th><th>
       <select class="game wd120">
 <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['game']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
  
     <option value="<?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gid']; ?>
" <?php if ($this->_tpl_vars['game'][$this->_sections['i']['index']]['gid'] == $this->_tpl_vars['gid']): ?>selected<?php endif; ?>><?php echo $this->_tpl_vars['game'][$this->_sections['i']['index']]['gname']; ?>
</option>
     
  <?php endfor; endif; ?>
   </select>
    </th>
    <th>类别</th>
     <th>赔率值</th>
   <th>备注</th>
   <th>时间</th>
   <th>用户</th>
   <th><input type="button" class="btn3 btnf" id='delselect'  value="删除选中" />
</th>
  </TR>
  <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['p']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
  <TR>
   <td><input type="checkbox" value='<?php echo $this->_tpl_vars['p'][$this->_sections['i']['index']]['id']; ?>
' /></td>
   <td><?php echo $this->_tpl_vars['p'][$this->_sections['i']['index']]['gname']; ?>
</td>
   <td><?php echo $this->_tpl_vars['p'][$this->_sections['i']['index']]['pid']; ?>
</td>
   <td><?php echo $this->_tpl_vars['p'][$this->_sections['i']['index']]['peilv']; ?>
</td>
   <td><?php echo $this->_tpl_vars['p'][$this->_sections['i']['index']]['auto']; ?>
</td>
   <td><?php echo $this->_tpl_vars['p'][$this->_sections['i']['index']]['time']; ?>
</td>
   <td><?php echo $this->_tpl_vars['p'][$this->_sections['i']['index']]['sonuser']; ?>
</td>
   <td><input type="button" class="delone btn1 btnf" value='删除' /></td>
  </TR>
  <?php endfor; endif; ?>
 </table>
</div>
<div id='test'></div>
</body>
</html>